package jmu.edu.yjc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jmu.edu.yjc.domain.ResponseResult;
import jmu.edu.yjc.domain.entity.Elderly;
import jmu.edu.yjc.domain.vo.common.TypeVo;
import jmu.edu.yjc.domain.vo.elderly.ElderlyVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


/**
 * (Elderly)表服务接口
 *
 * @author makejava
 * @since 2023-02-05 22:42:00
 */
public interface ElderlyService extends IService<Elderly> {

    ResponseResult getElderlyList(Integer pageNum, Integer pageSize, String name, String phoneNumber);

    void export(HttpServletResponse response);

    ResponseResult uploadExcel(MultipartFile file);

    ResponseResult getElderly(String name);

    Elderly getByIdentity(String identityId);

    ElderlyVo queryByIdentityId(String identityId);

    List<TypeVo> getAgeType();
}

